import {
  getUrl,
  postUrl,
  deleteUrl,
  putUrl
} from '../../utils/https'

// 获取已经分配教室的班级

export const getAllreadyClass = (data) => {
  return getUrl('/manger/grade')
}

export const addClass = (data) => {
  return postUrl('/manger/grade', data)
}
// 获取所有课程
export const getAllclass = (data) => {
  return getUrl('exam/subject')
}
// 删除班级接口 /manger/grade/delete

export const delClass = (data) => {
  return deleteUrl('/manger/grade/delete', data)
}

// 更新班级接口

export const changeClass = (data) => {
  return putUrl('/manger/grade/update', data)
}
